@import "default";

.a-inline-message {
  .a-inline-message-list:last-child {
    margin-bottom: 0;
  }
  .a-inline-message-list-unread{
    color: @default-text-color;
  }
  .a-inline-message-list-read {
    color: @default-unread-color;
  }
  .a-inline-message-list-read,
  .a-inline-message-list-unread {
    position: relative;
    bottom: 1px;
    margin-right: 8px;
  }
  .a-inline-message-list {
    // outline: black 1px solid;
    background-color: #fff;
    .a-inline-message-list-body {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 10px;
      box-sizing: border-box;
      margin: 10px 0;

      .a-inline-message-list-content {
        width: calc(100% - 20px);
        // overflow: hidden;
        position: relative;
        > div {
          width: 100%;
          > h2{
            text-overflow: -o-ellipsis-lastline;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            line-clamp: 3;
            -webkit-box-orient: vertical;
            width: calc(100vw - 120px);
            font-size: 17px;
          }
          *:not(span) {
            color: @default-text-333-color;
          }

          > span {
            color: @default-text-999-color;
            font-size: 10px;
            // overflow: hidden;
            // text-overflow: ellipsis;
            // display: inline-block;
            // white-space: nowrap;
            // width: inherit;
          }

          > img {
            /* position: absolute;
            right: 0;
            height: 100%;
            top: 0;
            transform: translate(-80%, 0); */
            height: calc(60px);
            position: absolute;
            right: 50%;
            top: 0;
            transform: translate(100%, 24px)
          }
        }

      }

      .a-inline-message-list-time-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        position: relative;

        > div {
          * {
            margin-bottom: 0;
          }
        }
      }

      .a-inline-message-list-action {
        text-align: right;
        max-width: 100px;
        & > {
          .ant-btn {
            color: @default-text-color;
            border-color: @default-text-color;
            border-radius: 3px;
            height: 26px;
          }
        }
      }
      .a-inline-message-list-time-action {
        // overflow: hidden;
        // text-overflow: ellipsis;
        // white-space: nowrap;
        width: 100%;
        .a-inline-message-list-time-action-1-1{

          .a-inline-message-list-time-action-1-1-node{
            margin-right: 5px;

          }
          >span{

            // display: inline-block;
            // width: 50%;
            //  white-space: nowrap;
            //  text-overflow: ellipsis;
            //  overflow: hidden;
            //  word-break: break-all;
            width: 100%;
            display: flex;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
            word-break: break-all;
            align-items: center;
          }
          
          &::before{
            content:'';
            display:block;
            height: 7px;
          }
        }
      }
    }
    .a-inline-message-list-time-action-1-1-icon-cs {
      display: inline-block;

      .a-inline-message-list-time-action-1-1-icon-cs-time{
        margin-left: 10px;
        display: flex;
        position: absolute;
        right: 17px;
        bottom: 12px;
      }
    }
    .a-inline-message-list-time-body {

      flex-direction: column;
      align-items: flex-start;
      position: relative;
      color: #999999;
      > img {
        // height: calc(80% - 24px);
        height: calc(60px);
        position: absolute;
        right: 50%;
        top: 0;
        transform: translate(100%, 24px)
      }
    }
  }
}
.a-inline-message-list-time-action-1-1-icon {
  display: inline-block;
  margin-right: 9px;
  background-color: #3296FA;
  width: 7px;
  height: 7px;
  border-radius: 50px;
  position: relative;
}
.a-inline-message-node-color {
  color: #999999;
}
.a-inline-message-list-nodeuser {
  margin-left: 5px;
}